'use strict';

const Controller = require('egg').Controller;

class DetailsController extends Controller {
  async getDetails() {
    const { ctx,service } =this;
    const {id}=ctx.params;
    const result= await service.details.getDetails(id);
    ctx.cc([result])
  }
}

module.exports = DetailsController;
